package ooday05;

public class EnumDemo {
    public static void main(String[] args) {
        Season s = Season.WINTER;
        System.out.println(s.getSeasonName()+","+s.getSeasonDesc());

        Season[] seasons = Season.values();
        for (int i = 0; i < seasons.length ; i++) {
            System.out.print(seasons[i]+"\t");
            System.out.print(seasons[i].getSeasonName()+"\t");
            System.out.print(seasons[i].getSeasonDesc()+"\t");
            System.out.println("");
        }

    }
}
